package edu.ynu.hhy.architectureclass.dao;

import edu.ynu.hhy.architectureclass.entity.SensorData;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SensorDataDao extends JpaRepository<SensorData, Long> {
    List<SensorData> findByDeviceSerial(String deviceSerial);
}